<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    a#cha:link{
        color: black;
    }
    a#cha:visited{
        color: green;
    }
    a#cha:hover{
        color: red;
        font-size: 50px;
    }
    a#cha:active{
        color: aqua;
        font-size: 15px;
    }
    </style>
</head>
<body>
    <a href="">普通超链接</a><br><br>
    <a href="" id="cha">我没被访问过时是黑色，访问过后是绿色,鼠标悬浮时变大并且红色，鼠标点击时又变小并且青色</a>
</body>
</html>